package org.goodprinciples.commons.bean;

/**
 *
 * @author Francesco Conte
 */
public enum ModifyTypeVO implements CodeDescriptionBean {
    
    INSERT("I", "Insert"),
    UPDATE("U", "Update"),
    DELETE("D", "Delete"),
    ;
        
    private String code = null;
    private String description = null;
    
    private ModifyTypeVO(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
    
}
